#pragma once
#include "BaseShape.h"
#ifndef _CLYCLOPENTANE_
#define _CLYCLOPENTANE_

#define NUM_OF_ANGLE 5
class CClycloPentane : public BaseShape
{
public:
	double xCenter;
	double yCenter;
	double radiansOffset;
	double lengthSide;
	double Radius() const 
	{ 
		return lengthSide / ( 2.0 * sin(2*PI/10) ); 
	}
	CClycloPentane(void);
	CClycloPentane(CPoint, CPoint);
	BOOL Draw(CDC *cDC);
	~CClycloPentane(void);
private:
	//thiet lap toa do cho cac dinh trong hinh chu nhat
	void setCoordinate();
};

#endif

